#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Experimental.Commodities
{
    /// <summary> 
	/// 
	/// </summary>
    [Guid ("DB3008BA-6F7F-428d-BAA0-273B40700F0B"),ComVisible(true)]
	public interface IUnitOfMeasureConversion 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Experimental.Commodities.IUnitOfMeasureConversion Chain(Cephei.QL.Experimental.Commodities.IUnitOfMeasureConversion r1, Cephei.QL.Experimental.Commodities.IUnitOfMeasureConversion r2);
        /// <summary> 
		/// 
		/// </summary>
		 String Code {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Experimental.Commodities.ICommodityType CommodityType {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double ConversionFactor {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Experimental.Commodities.IQuantity Convert(Cephei.QL.Experimental.Commodities.IQuantity quantity);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Experimental.Commodities.IUnitOfMeasure Source {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Experimental.Commodities.IUnitOfMeasure Target {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Experimental.Commodities.UnitOfMeasureConversion.TypeEnum Type {get;}
    }   

    /// <summary> 
	///  Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IUnitOfMeasureConversion_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IUnitOfMeasureConversion Create ();
        /// <summary> 
		/// 
		/// </summary>
	    IUnitOfMeasureConversion Create (Cephei.QL.Experimental.Commodities.ICommodityType commodityType, Cephei.QL.Experimental.Commodities.IUnitOfMeasure source, Cephei.QL.Experimental.Commodities.IUnitOfMeasure target, Double conversionFactor);
    }
}

